package plugin

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"gvb_server/middleware"
)

const (
	OnlyFuncName = "Plugin"
)

func InstallPlugin(Router *gin.Engine) {
	PublicGroup := Router.Group("")
	fmt.Println("无鉴权插件安装==》", PublicGroup)
	PrivateGroup := Router.Group("")
	fmt.Println("鉴权插件安装==》", PrivateGroup)
	PrivateGroup.Use(middleware.JWTAuth())
}
